<ul id="w0" class="nav nav-tabs" tag="div">
    <li class="my-class <?php if(yii::$app->controller->action->id=='view'): echo 'active'; endif;  ?>"><a href="<?= \Yii::$app->urlManager->createUrl(['mysql/status/view','server'=>$model->host.'-'.$model->port ]) ?> "><span class="glyphicon glyphicon-time"></span>&nbsp;健康概述</a></li>
    <li class="my-class <?php if(yii::$app->controller->action->id=='resource'): echo 'active'; endif;  ?>"><a href="<?= \Yii::$app->urlManager->createUrl(['mysql/status/resource','server'=>$model->host.'-'.$model->port]) ?> "><span class="glyphicon glyphicon-eye-open"></span>&nbsp;资源监控</a></li>
    <li class="my-class <?php if(yii::$app->controller->action->id=='chart'): echo 'active'; endif;  ?>"><a href="<?= \Yii::$app->urlManager->createUrl(['mysql/status/chart','server'=>$model->host.'-'.$model->port,'time_interval'=>'3600','end'=>'0' ]); ?>" ><span class="glyphicon glyphicon-signal"></span>&nbsp;性能图表</a></li>
    <!--<li class="my-class <?php if(yii::$app->controller->action->id=='performance'): echo 'active'; endif;  ?> "><a href="<?= \Yii::$app->urlManager->createUrl(['mysql/status/performance','server'=>$model->host.'-'.$model->port ]) ?>" ><span class="glyphicon glyphicon-ok"></span>&nbsp;性能体检</a></li>-->

</ul>